import pygame

# Define some colors
black	= (0, 0, 0)
white	= (255, 255, 255)
green	= (0, 255, 0)
red	= (255, 0, 0)
blue	= (0, 0, 255)

# Initialize the game engine
pygame.init()

# Set the height and width of the screen
width	= 640
height	= 480
size 	= [width, height]
screen 	= pygame.display.set_mode(size)

pygame.display.set_caption("Title")

# Loop until the user clicks the close button
done = False

clock = pygame.time.Clock()

fps = 60

# ----- Main Program Loop -----
while not done:
	# For everything the user does
	for event in pygame.event.get():
		if event.type == pygame.QUIT:
			done = True

	# Set the screen background
	screen.fill(black)

	# ----- Begin Drawing Something -----

	# ----- End Drawing Something -----

	# Limit to fps frames per second
	clock.tick(fps)

	# Update the screen with what's been drawn
	pygame.display.flip()

# Exit.
pygame.quit()
